<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:c="http://java.sun.com/jsp/jstl/core">  
 <ui:component>
  <ul id="${linkSet.id}-links">
#foreach($link in $linkSet.links)
#if ($link.internal) 
    <li><a href="${link.page.id}.jsf">${link.title}</a></li> 
#else 
    <li><a href="${link.href}.jsf">${link.title}</a></li> 
#end
#end 
  </ul>
 </ui:component>
</html>